/**
 * 
 */
package com.gragra.parsingApps;
import java.io.IOException;
import java.util.Arrays;
import com.gragra.dependencyParsing.SingleRootDependencyType;
/**
 * @author Christoph Teichmann
 * 09.11.2013
 */
public class RunDistHeadTwoLevelForSampler
{
	/**
	 * @param args
	 * @throws InterruptedException 
	 * @throws IOException 
	 */
	public static void main(String[] args) throws IOException, InterruptedException
	{
		String pref = args[1];
		SingleRootDependencyType[] samps = new SingleRootDependencyType[] {SingleRootDependencyType.GibbsGibbs,
									SingleRootDependencyType.GreedyProjective, SingleRootDependencyType.GibbsProjective};
		args = Arrays.copyOfRange(args, 0, args.length+2);
		for(SingleRootDependencyType samp : samps)
		{
			args[1] = pref.concat("_"+samp.name());
			args[args.length-2] = "-sampType";
			args[args.length-1] = samp.name();
			RunDistHeadTwoLevel.main(args);
		}
	}
}